package com.jxin.mall.weixin.service.api;

import com.jxin.mall.weixin.service.entity.App;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 微信服务接口
 * @author 蔡佳新
 * @date 2019/5/27 18:43
 * @since 1.0
 */
@Api(tags = "微信服务接口")
public interface WeiXinAppService {
    /**
     * 获取应用对象
     * @return 应用对象
     * @author 蔡佳新
     * @date 2019/5/27
     */
    @ApiOperation(value = "获取应用对象", response = App.class)
    @GetMapping(value = "/getApp", produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
    App getApp();
}
